{% extends "forum/forum_base.html" %}

{%block breadcrum%}
{{block.super}}
&gt{{group.name}}
{%endblock%}

{% block forum_content %}

<a href="/{{group.slug}}/add_thread/" style="text-decoration:none; font-size:110%">新建主题</a>

<table width="100%" cellspacing="0" class="bbs-table prepend-top">
    <tr>

    <th>No.</th>
    <th>主题</th>
    <th>作者</th>
    <th>回复</th>
    <th>阅读</th>
    <th>发表日期</th>

    </tr>
    
    {%for t in threads%}
        <tr>
        
        <td class="no">{{t.no}}</td>
        <td class="title"><a href="/details_thread/{{t.id}}/">{{t.title}}</a></td>
        <td class="author">{{t.author.username}}</td>
        <td class="count">{{t.reply_count}}</td>

        <td class="count">{{t.hits}}</td>
        <td class="datetime">{{t.created_at|date:"Y-m-d H:i"}}</td>
        </tr>
    {%endfor%}
</table>

{%endblock%}
